import 'package:json_annotation/json_annotation.dart';

part 'plot.g.dart';

@JsonSerializable()
class PlotTrigger{

 final int triggerType;
 final String triggerCondition;

  PlotTrigger(this.triggerType, this.triggerCondition);

  factory PlotTrigger.fromJson(Map<String, dynamic> json) =>
      _$PlotTriggerFromJson(json);

  Map<String, dynamic> toJson() => _$PlotTriggerToJson(this);


}